package com.zretc.blog.dao;

import com.zretc.api.pojo.Reply;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface ReplyMapper {
    void addReply(Reply reply);
    ArrayList<Reply> getReplyByComment(Integer commentId);
    ArrayList<Reply> getReplyByUser(Integer replierId);
    void setReplyStatus(Reply reply);
    void deleteReply(Integer id);
    void deleteReplyByComment(Integer commentId);
    void likeReply(Integer id);
    Reply getReplyById(Integer id);


}
